package com.online.olsrootserver.master;

import com.online.olsrootserver.entity.Faq;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * Created by littleheng on 2018/5/3
 */
@Mapper
public interface FaqMapper {

    @Select("select id, company_id, question, answer, create_time from ols_faq where company_id = #{companyId}")
    List<Faq> selectFaqList(@Param("companyId")String companyId);

}
